package com.hibernatedemo.pojo;

/**
 * 学生实体类 对应数据库表T_STUDENT
 * hibernate使用:
 * 1. 实体类(Student)
 * 2. 实体类对应的hibernate配置文件(Student.hbm.xml)
 * 3. Hibernate配置文件(hibernate.cfg.xml)
 * @author Administrator
 *
 */
public class Student {

	private Integer id;
	private String name;
	private String sex;
	private Integer age;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	
	
}
